package com.learn.design.lsp.v2;

import com.learn.design.lsp.v1.Rifle;

/**
 * 狙击步枪
 * @author Administrator
 */
public class AugRifle extends Rifle {
    /**
     * 狙击枪都携带一个精准的望远镜
     */
    public void zoomOut() {
        System.out.println("通过望远镜察看敌人...");
    }

    @Override
    public void shoot() {
        System.out.println("AUG射击...");
    }
}
